
//登录
export  const toLogin = async () => {
    uni.showToast({
      icon: 'error',
      title: '请先登录!',
      duration: 1000
    })
    setTimeout(() => {
      uni.reLaunch({
        url: '/pages/login/login'
      })
    }, 1000)
  }